Skip to content

Comments

Conform GDCM to use CMAKE_*OUTPUT_DIRECTORY#5708

Open
blowekamp wants to merge 1 commit intoInsightSoftwareConsortium:mainfrom
blowekamp:gdcm_update_output_directory
Open

Conform GDCM to use CMAKE_*OUTPUT_DIRECTORY#5708
blowekamp wants to merge 1 commit intoInsightSoftwareConsortium:mainfrom
blowekamp:gdcm_update_output_directory

Conversation

@blowekamp
Copy link
Member

@blowekamp blowekamp commented Dec 22, 2025

Add GDCM support for modern CMAKE_*_OUTPUT_DIRECTORY variables. Removes setting legacy CMake cache variables.

Internally GDCM still uses the legacy names.

PR Checklist

  • No API changes were made (or the changes have been approved)
  • No major design changes were made (or the changes have been approved)
  • Added test (or behavior not changed)
  • Updated API documentation (or API not changed)
  • Added license to new files (if any)
  • Added Python wrapping to new files (if any) as described in ITK Software Guide Section 9.5
  • Added ITK examples for all new major features (if any)

Refer to the ITK Software Guide for
further development details if necessary.

@github-actions github-actions bot added type:Infrastructure Infrastructure/ecosystem related changes, such as CMake or buildbots area:ThirdParty Issues affecting the ThirdParty module labels Dec 22, 2025
@blowekamp
Copy link
Member Author

Comments are welcome before I make the PR to upstream GDCM.

@blowekamp
Copy link
Member Author

GDCM PR made: malaterre/GDCM#201

@thewtex
Copy link
Member

thewtex commented Jan 2, 2026

\azp run ITK.Windows

@dzenanz
Copy link
Member

dzenanz commented Jan 3, 2026

/azp run ITK.Windows

@blowekamp blowekamp force-pushed the gdcm_update_output_directory branch from 70d892b to 20c481f Compare January 9, 2026 14:25
@blowekamp
Copy link
Member Author

@malaterre Can the PR in GDCM please be merged or shall we apply this patch just to ITK?

Add GDCM support for modern CMAKE_*_OUTPUT_DIRECTORY
variables. Removes setting legacy CMake cache variables.

Internlly GDCM still uses the legacy names.
@blowekamp blowekamp force-pushed the gdcm_update_output_directory branch from 20c481f to d5cf8de Compare February 23, 2026 22:18
@blowekamp blowekamp changed the title WIP: Conform GDCM to use CMAKE_*OUTPUT_DIRECTORY Conform GDCM to use CMAKE_*OUTPUT_DIRECTORY Feb 23, 2026
@blowekamp blowekamp marked this pull request as ready for review February 23, 2026 22:19
@blowekamp
Copy link
Member Author

As I recall this patch help support using ITK with FetchContent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ThirdParty Issues affecting the ThirdParty module type:Infrastructure Infrastructure/ecosystem related changes, such as CMake or buildbots

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants